dsh-pwsh7:将 DSH 的 pwsh 工具锁定到 PowerShell 7
dsh-pwsh7 是 DSH 的工作流插件,用于在启动时强制将 pwsh 工具锁定到 PowerShell 7,拒绝回退到 Windows PowerShell 5.1。它通过多级路径解析、版本验证和 PATH 插入,确保所有 shell 命令都在统一的 PowerShell 7 环境下运行。插件仅在 Windows 上可用,配置项包括显式路径和严格模式开关。
阅读全文dsh-win-pwsh7:让 Windows 上的 DSH `pwsh` 工具跑真正的 PowerShell 7
在 Windows 上使用 DSH 时,pwsh 工具可能回落到 PowerShell 5.1,导致 && 与 || 解析失败。社区插件 dsh-win-pwsh7(xinspark)纯 JS、零依赖,提供 pwsh7_status 与 pwsh7_install:检测与校验路径、仅从 Microsoft Store 安装自更新包,安装前检查按流量计费的连接,并给出可粘贴的 cordis 补丁与模型提示段。本文介绍安装命令、配置项 overridePath/installIfMissing、后台作业进度查看方式及适用注意。
阅读全文dsh-plugin-pwsh7:在 Windows 上将 DSH 的 pwsh 工具路由到 PowerShell 7
dsh-plugin-pwsh7 是 drliuhuan 维护的 Windows 客户端 bundle,在保留 dsh-pwsh-sandbox 沙箱行为的前提下,将模型面对的 pwsh 工具解析到 PowerShell 7。插件提供 shell_router 诊断与路由、Web 设置页与安装对话框(安装仅由用户触发),以及可选的 PowerShell 7 方言提示与 Composer 芯片。安装命令为 plugin_manager action=install_bundle target=dsh-plugin-pwsh7@0.3.3。适用于在 DSH Web/desktop profile 下需要稳定 PowerShell 7 与可观测路由的 Windows 开发者。
阅读全文dsh-coding-preset:DSH coding 模式在 Windows 上使用持久 pwsh 的预设
dsh-coding-preset 是一个已弃用(DEPRECATED)的 Windows 适配 DSH coding 模式预设,旨在将默认 bash 替换为持久 PowerShell 7(pwsh)会话。该预设保留了官方 minimal 模式的核心边界,仅暴露 pwsh 和 str_replace_editor 两个工具,并通过 node-pty/ConPTY 实现状态保持。在 danger-full-access 模式下,变量、函数和目录可在调用间保留;而在 read-only 或 workspace-write 模式下,则执行一次性命令且状态不保留。它还支持单次沙箱提权,允许在携带合理理
阅读全文